package com.atguigu.gmall.item.mybatis.dao;

import com.atguigu.gmall.item.mybatis.annotation.MySQL;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/12/9 18:08
 * @Version 1.0
 */
public interface PersonDao {

    @MySQL("select count(*) from person")
    Integer getAllPersonCount();

    @MySQL("insert into person('age','email') values({age},{email})")
    void insertPerson(Integer age,String email);

}
